import type { PageQuery } from '@/types/axios';

// 设备位置查询参数接口
export interface LocationQuery {
  pageNum: number;
  pageSize: number;
  locationName?: string;
  deviceId?: number;
  status?: number;
}

// 设备位置表单对象接口
export interface LocationForm {
  id?: number;
  deviceId?: number;
  deviceName?: string;
  deviceNo?: string;
  model?: string;
  sn?: string;
  channelCount?: number;
  imgUrl?: string;
  location?: string;
  address?: string;
  latitude?: string;
  longitude?: string;
  status?: number;
  remark?: string;
  locationNo?: string;
  locationType?: number;
  createTime?: string;
  updateTime?: string;
  createBy?: string;
  updateBy?: string;
  createDept?: string;
  deviceStatus?: number;
}

// 设备位置响应对象接口
export interface LocationVo {
  id: number;
  deviceId: number;
  deviceName: string;
  location: string;
  address: string;
  latitude: string;
  longitude: string;
  status: number;
  remark?: string;
  locationNo: string;
  locationType: number;
  createTime?: string;
  updateTime?: string;
  createBy?: string;
  updateBy?: string;
  createDept?: string;
  taskId?: string;
  deviceStatus?: number;
}
